package test;

import java.io.BufferedWriter;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

public class HelloWorld {

	/**
	 * @param args
	 */
	public static void main(String[] args) {		
		try {			
			File outputFile = new File(args[0] + "/output.txt");
			
			BufferedWriter out = new BufferedWriter(new FileWriter(outputFile));
			out.write("Hello");
			out.newLine();
			out.write("World!");
			out.flush();
			out.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}